package ckw.database.repositories;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import ckw.database.model.AdministratorToken;
import ckw.database.model.ElectionNode;
import ckw.database.model.Member;

@Transactional
public interface AdministratorTokenRepository extends JpaRepository<AdministratorToken, Long> {

	AdministratorToken findByMemberAndElectionNode(Member member, ElectionNode electionNode);
}
